package com.qbccn.bbs.mapper;

import com.qbccn.bbs.domain.BbsUserRole;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * @author linke
 * @date 2020/5/30 19:52
 * @description
 */
public interface BbsUserRoleMapper {

    int deleteByPrimaryKey(Integer id);

    int insertSelective(BbsUserRole record);

    BbsUserRole selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(BbsUserRole record);

    int updateByPrimaryKey(BbsUserRole record);

    List<BbsUserRole> getRoles(@Param("userId") Integer userId);
}
